package com.xingkeduo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

import com.xingkeduo.util.tool.ConstantUtil;

/**
 * 
 * @author 高杰
 * @time 2018年12月17日 上午11:47:05
 * @description
 */
@EnableDiscoveryClient
@SpringBootApplication
@EnableAutoConfiguration(exclude = { DataSourceAutoConfiguration.class })
public class CommonApplication {
	public static void main(String[] args) {
		System.setProperty(ConstantUtil.DATABASE, "");
		SpringApplication.run(CommonApplication.class, args);
	}
}
